Google\Web_Stories\REST_API\Font_Controller S

Total Complexity 49
Dependencies 6
Dependents 1
Total lines 603
Lines of code 354
Logical lines of code 121
Comment lines 176
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_items()
A
45 11 43
prepare_item_for_response()
A
46 10 38
prepare_item_for_database()
S
48 6 33
get_item_schema()
S
38 2 92
get_custom_fonts()
S
49 6 31
get_builtin_fonts()
S
59 4 15
get_items_permissions_check()
S
62 3 11
register_routes()
S
48 1 39
__construct()
S
67 3 7
get_collection_params()
S
50 1 30
font_exists()
S
62 1 11
delete_item()
S
75 1 4